html,
body {
  height: 100%;
}

body {
  margin: 0px;
  font-size: 13px;
}

ul li,
ol li {
  list-style: none;
}

* {
  padding: 0;
  margin: 0;
}

input {
  outline: none;
  border: 1px solid #8d9bab;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 5px;
}

.main-div {
  display: flex;
}

.window-frame {
  position: relative;
  box-sizing: border-box;
}

.chart-container {
  position: relative;
  box-sizing: border-box;
  background: #2c3450;
}

.chart-main-element {
  position: absolute;
  z-index: 3;
}

.jschart-drawing {
  position: absolute;
  z-index: 1;
}

.jschart-opt-drawing {
  position: absolute;
  z-index: 2;
}

.y-axis {
  position: absolute;
  z-index: 1;
  min-width: 60px;
}

.y-axis-opt {
  position: absolute;
  z-index: 2;
  min-width: 60px;
}

.top-container {
  display: flex;
  align-items: center;
}

.top-container .item {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  font-size: 14px;
  color: #8d9bab;
  padding: 0 10px 0 10px;
  border-right: 1.5px solid #353d5a;
  cursor: default;
}

.top-container .item:hover {
  background: #2c3450;
}

.title-tool {
  display: flex;
  align-items: center;
  height: 24px;
  position: absolute;
  z-index: 3;
}

.indicator-title-tool {
  position: absolute;
  z-index: 3;
}

.indicator-title-tool-item {
  display: flex;
  align-items: center;
  height: 20px;
}

.left-box {
  display: flex;
  align-items: center;
}

.value-box_label {
  color: #8d9bab;
  font-size: 14px;
}

.icon {
  background: #353d5a;
  padding: 2px;
}

.draw-tool-item {
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #8d9bab;
}

.draw-tool-item:hover {
  background: #353d5a;
}

.draw-tool-opt-dialog {
  background: #353d5a;
  position: absolute;
  z-index: 10;
  padding: 5px;
  border-radius: 2px;
  box-shadow: 0px 1px 30px 0px #000000;
}

.draw-tool-opt-dialog .item {
  font-size: 14px;
  color: #b2b5b1;
  border-bottom: 1px solid #8d9bab;
  display: flex;
  align-items: center;
  padding: 10px;
}

.draw-tool-opt-dialog .item .label {
  color: #8d9bab;
  flex-grow: 1;
  text-align: right;
}

.load-ele {
  position: absolute;
  left: 0px;
  top: 0px;
  background: #2c3450;
  opacity: 0.2;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
}

.load-icon {
  font-size: 20px;
  color: #cdcdcd;
}

.period-dialog {
  width: 200px;
  padding: 6px 0px;
  box-sizing: border-box;
  background: #353d5a;
  position: absolute;
  z-index: 10;
  box-shadow: 0px 1px 30px 0px #000000;
}

.period-dialog-title {
  font-size: 14px;
  color: #fff;
  height: 33px;
  line-height: 33px;
  padding-left: 6px;
}

.period-itemlist {
  width: 100%;
  border-top: 1px solid #8d9bab;
}

.period-itemlist_title {
  width: 100%;
  font-size: 12px;
  color: #8d9bab;
  height: 22px;
  line-height: 22px;
  padding-left: 12px;
}

.period-itemlist_item {
  width: 100%;
  font-size: 13px;
  color: #ffffff;
  height: 33px;
  line-height: 33px;
  padding-left: 12px;
  box-sizing: border-box;
  cursor: default;
}

.period-itemlist_item:hover {
  background: #3e4768;
}

.goto-dialog {
  width: 310px;
  background: #353d5a;
  position: absolute;
  z-index: 10;
  border-radius: 2px;
  box-shadow: 0px 1px 30px 0px #000000;
}

.date-cal {
  height: 34px;
  width: 120px;
  border-radius: 3px;
  line-height: 34px;
  padding-left: 10px;
  box-sizing: border-box;
}

.time-cal {
  height: 34px;
  width: 80px;
  border-radius: 3px;
  line-height: 34px;
  padding-left: 10px;
  margin-left: 10px;
  box-sizing: border-box;
}

.target-dialog {
  background: #353d5a;
  position: absolute;
  z-index: 10;
  border-radius: 2px;
  box-shadow: 0px 1px 30px 0px #000000;
  padding: 10px;
  box-sizing: border-box;
  max-width: 600px;
}

.target-name-input {
  width: 120px;
  height: 40px;
  line-height: 40px;
}

.target-desc-input {
  width: 200px;
  height: 40px;
  line-height: 40px;
  margin-left: 20px;
}

.target-save-btn {
  width: 60px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 5px;
  background-color: #409EFF;
  color: #fff;
  margin-left: 20px;
}

.target-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.target-data-list {
  margin-top: 20px;
}

.table-header {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 14px;
  color: #b2b5b1;
  border-bottom: 1px solid #b2b2b2;
}

.table-row {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 12px;
  color: #fff;
  border-bottom: 1px solid #fff;
  margin-top: 5px;
}

.target-item {
  padding: 5px 10px;
  border-radius: 5px;
  background: #E6A23C;
  color: #fff;
  margin-right: 10px;
  margin-top: 5px;
}

.target-item-dialog {
  background: #353d5a;
  position: absolute;
  z-index: 10;
  border-radius: 2px;
  box-shadow: 0px 1px 30px 0px #000000;
  padding: 10px;
  box-sizing: border-box;
  max-width: 800px;
  cursor: move;
}

.target-item_tool_list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.target-item_tool {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 16px;
  color: #333;
  border-radius: 30px;
  background: #8d9bab;
  margin-right: 10px;
  margin-top: 5px;
  cursor: default;
}

.popup-container {
  width: 100px;
  background: #353d5a;
  box-shadow: 0px 1px 30px 0px #000000;
  position: absolute;
  z-index: 10;
  border-radius: 2px;
}

.popup-item {
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

.popup-item:hover {
  background: #3e4768;
}

#goto-btn:active {
  opacity: 0.8;
}


.animationSlow {
  width: 100rpx;
  height: 100rpx;
  animation-name: myfirst;
  /*动画的名称 */
  animation-duration: 2000ms;
  /*动画从开始到结束的时间*/
  animation-timing-function: linear;
  /*动画执行快慢的参数*/
  animation-iteration-count: infinite;
  /*动画执行多少次的参数*/
  /*以下是兼容ios所需，参数意义与上相同*/
  -webkit-animation-name: myfirst;
  -webkit-animation-duration: 2000ms;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
}

@keyframes myfirst {

  /*开始转的角度*/
  from {
    transform: rotate(0deg);
  }

  /*结束的角度*/
  to {
    transform: rotate(360deg);
  }
}

/*兼容ios*/
@-webkit-keyframes myfirst {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}